
class HomeMessageBean {

  List<MessageBean> list;
  HomeMessageBean({this.list});
  HomeMessageBean.fromJson(Map<String, dynamic> json) {
    if (json['list'] != null) {
      list = new List<MessageBean>();
      json['list'].forEach((v) {
        list.add(new MessageBean.fromJson(v));
      });
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    if (this.list != null) {
      data['list'] = this.list.map((v) => v.toJson()).toList();
    }
    return data;
  }
}

class MessageBean {
  String appRouteUrl;
  String title;
  String content;
  MessageBean({this.appRouteUrl, this.title, this.content});

  MessageBean.fromJson(Map<String, dynamic> json) {
    appRouteUrl = json['appRouteUrl'];
    title = json['title'];
    content = json['content'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['appRouteUrl'] = this.appRouteUrl;
    data['title'] = this.title;
    data['content'] = this.content;
    return data;
  }
}